﻿using System.Collections.Generic;
using Domain.Entities;

namespace BusinessLogic.Interfaces
{
    public interface IUsersRepository
    {
        IEnumerable<User> GetUsersAll();
        IEnumerable<User> GetUsers(string userName, string pas);
        Profile GetListProfiles(User us);
        User GetUserById(int id);
        User GetUserByName(string userName);
        void CreateUser(string userName, string pas, 
            int profileId, int RoleId);
        bool ValidateUser(string userName, string pas);
        void SaveUser(User user);
        void DeleteUser(User user);
        User GetUser(string userName, string pas);

    }
}
